package TestXunuan;

public class TestWhile {
    public static void main(String[] args) {
        int n=1;
        while(n<5){
            System.out.println(n);
            n++;
        }
        //求1-5的累加和
        int m=1;
        int sum=0;
        while(m<=5){
            sum=sum+m;
            m++;
        }
        System.out.println(sum);
        //循环输出英文字母分两行输出
        char ch='a';
        int count=1;
        while(ch<='z'){
            System.out.print(ch);
            ch++;
            if (count%13==0){
                System.out.println();
            }
            count++;
        }
    }

}
